﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using W.M.Materiel.Application.IServices;
using W.M.Materiel.Domain.Entity;

namespace W.M.Materiel.Read.API.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class Product_configuration_classificationController : ControllerBase
    {
        private readonly IProduct_configuration_classificationServices product_Configuration_ClassificationServices;

        public Product_configuration_classificationController(IProduct_configuration_classificationServices product_Configuration_ClassificationServices)
        {
            this.product_Configuration_ClassificationServices = product_Configuration_ClassificationServices;
        }

        /// <summary>
        /// 产品分类信息
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public async Task<IActionResult> Getproduct_configuration_classification()
        {
            var list=await product_Configuration_ClassificationServices.Getproduct_configuration_classification();
            return Ok(list);
        }
    }
}
